package com.wnn.demo.domain;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@Component
@NoArgsConstructor
@AllArgsConstructor
public class Event implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "事件id", name = "id", dataType = "String")
    private String id;

    @ApiModelProperty(value = "任务id", name = "taskId", dataType = "String")
    private String taskId;

    //    反映人
    @ApiModelProperty(value = "反映人", name = "reflector", dataType = "String")
    private String reflector;

    //    联系方式
    @ApiModelProperty(value = "联系方式", name = "phoneNumber", dataType = "String")
    private String phoneNumber;

    //    具体位置
    @ApiModelProperty(value = "具体位置", name = "location", dataType = "String")
    private String location;

    //    情况描述
    @ApiModelProperty(value = "情况描述", name = "description", dataType = "String")
    private String description;

    //    路径
    @ApiModelProperty(value = "路径", name = "filePaths", dataType = "String")
    private String filePaths;

    //	附件集合
    @ApiModelProperty(value = "附件集合", name = "accessories", dataType = "List<Accessory>")
    private List<Accessory> accessories;
}
